<?php 
require "DataLoad.php"; 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title><?php echo $GuildName;?> - DKP系统</title>
<script language="JavaScript" src="inc/jquery.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="Generator" content="EditPlus">
<meta name="Author" content="SULei">
<meta name="Keywords" content="DKP WOW GUILD">
<meta name="Description" content="">
<link href="<?php echo $StylePath;?>/main.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="<?php echo $StylePath;?>/styleplus.js"></script>
<style type="text/css" media="all">

</style>


</head>

<body>

<div class="header">
<?php require "menu.php"; ?>
</div>
<div class="main">
<?php 
echo SpecEvent_list();
?>
</div>
<?php require "footer.php"; ?>
</body>
</html>
<?php 

//特殊事件列表
function SpecEvent_list($sstr) {

	$html .= "<table class='dkplist outframe'>";
	$html .= "<tr><th colspan='6'>调分记录</th></tr>";
	$html .= "<tr class='coltitle'><td>时间</td><td>DKP分类</td><td>类型</td><td>事件人物 </td><td>目标人物/目标物品/备注</td><td>DKP</td></tr>";
	$sql="select * from raid_event where event_raidid=0 order by event_time desc";
	if ($result = mysql_query($sql)) {
		while ($row = mysql_fetch_array($result)) {
			$html .= "<tr class='".linec($i)."'><td>".$row["event_time"]."</td><td>".getRaidClassText($row["raid_class"])."</td><td>".$row["event_class"]."</td><td>".name2id($row["event_object"])."</td><td>".$row["event_object2"]."</td><td>".$row["event_dkp"]."</td></tr>";
		}
	}else{
		$html .= "<tr><td colspan='6'>None.</td></tr>";
	} 

	$html .= "</table>";
	return $html;
} 

?>
